package com.design.mode.aop;

import org.springframework.stereotype.Component;

/**
 * @ClassName Boy
 * @Description TODO
 * @Author xiongchao
 * @Date 2020/10/10 13:52
 **/
@Component
public class Boy implements IBuy {
    @Override
    public String buy() {
        System.out.println("男孩买了一个游戏机");
        return "游戏机";
    }
}
